package com.cn.por.util.tree;

import java.util.List;

/**
 * 通用树形结构的节点
 * @param <T>
 */
public interface GenericTreeNode<T> {

    T getId();
    T getParentId();
    void setChildren(List<? extends GenericTreeNode<T>> children);
    List<? extends GenericTreeNode<T>> getChildren();
}
